<div class="view">

	<?php if ($this->route != 'page/view'): ?>
		<p>
			<b>
				<?php
				echo CHtml::encode($data->getAttributeLabel('sequence'));
				?>:
			</b>
			<?php
			echo CHtml::encode($data->sequence);
			echo CHtml::encode($data->subSequence);
			?>
		</p>
	<?php endif; ?>

	<?php
	foreach ($data->languages as $language) {
		$src = $language->fileThumbnailUrl;
		$alt = "$language->value Version";
		$htmlOptions = array(
			'class'=>'column',
			'title'=>"$language->value Version",
		);
		$text = CHtml::image($src, $alt, $htmlOptions);
		$url = $this->createUrl('language/view', array('id'=>$language->id));
		$htmlOptions = array(
			'title'=>"$language->value Version",
		);
		echo CHtml::link($text, $url, $htmlOptions);
	}
	?>

	<div class="clear"></div>

</div>